<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>图书借阅</title>
	<style type="text/css">
		@import url(../css/form.css);

		li {
			list-style: none;
		}

		.tdOne {
			text-align: right;
		}

		#biaoGe {
			width: 80%;
			margin: 0 auto;
			margin-top: 30px;
		}

		textarea.kuang {
			height: 300px;
			width: 600px;
		}
	</style>
<body>


	<form action="${basePath}reader/getReaderBorrow" method="post">
		<table id="biaoGe">
			<tr>
				<td class="tdOne">请输入用户编号:</td>
				<td><input class="kuang" type="text" name="readerId"/>&nbsp;
				<input type="submit" value="确认" name="commit"/></td>
			</tr>
			</table>
	</form>
	<%@include file="readerReadOnly.jsp"%>
	<p>
		<form action="${basePath}book/getBookBorrow" method="post">
		<input type="hidden" name="readerId" value="${reader.id}" />
		<table id="biaoGe">
			<tr>
				<td class="tdOne">请输入图书编号:</td>
				<td><input class="kuang" type="text" name="bookId"/>&nbsp;
					<input type="submit" value="确认" name="commit"/></td>
			</tr>
		</table>
		</form>
		<%@include file="bookReadOnly.jsp"%>
	<p>
		<form action="${basePath}record/addRecord" method="post">
			<input type="hidden" name="reader.id"
				value="${reader.id}" />
			<input type="hidden" name="book.id" value="${book.id}" />
			<input type="hidden" name="book.amount" value="${book.amount}" />
			<input type="submit" value="确认借阅" />
		</form>
	<p>
</body>
</html>
